public class Prism
{
	private double x, y, z;
	private double sizeX, sizeY, sizeZ;
	private boolean movable = false;
//	private final int TYPE;
	public Prism(double x, double y, double z, double sizeX, double sizeY, double sizeZ, boolean movable)
	{
		this.setX(x);
		this.setY(y);
		this.setZ(z);
		this.setSizeX(sizeX);
		this.setSizeY(sizeY);
		this.setSizeZ(sizeZ);
		this.movable = movable;
	}
	
	public boolean move(double x, double y, double z)
	{
		if(movable)
		{
			this.setX(this.getX() + x);
			this.setY(this.getY() + y);
			this.setZ(this.getZ() + z);
			return true;
		}
		return false;
	}

	public double getX()
	{
		return x;
	}

	public void setX(double x)
	{
		this.x = x;
	}

	public double getY()
	{
		return y;
	}

	public void setY(double y)
	{
		this.y = y;
	}

	public double getZ()
	{
		return z;
	}

	public void setZ(double z)
	{
		this.z = z;
	}

	public double getSizeX()
	{
		return sizeX;
	}

	public void setSizeX(double sizeX)
	{
		this.sizeX = sizeX;
	}

	public double getSizeY()
	{
		return sizeY;
	}

	public void setSizeY(double sizeY)
	{
		this.sizeY = sizeY;
	}

	public double getSizeZ()
	{
		return sizeZ;
	}

	public void setSizeZ(double sizeZ)
	{
		this.sizeZ = sizeZ;
	}
}